#define _CRT_SECURE_NO_WARNINGS 1

#include <stdio.h>
#include <string.h>

unsigned int my_strlen(char* a)
{
	char* p = a;
	while (*p != '\0' && p++);

	return p - a;
}

int main()
{
	char arr[] = "abcdefghijklmn";
	printf("arr = %s\n\n", arr);
	printf("strlen:    %zd\n", strlen(arr));
	printf("my_strlen: %u\n", my_strlen(arr));


	return 0;
}
